package com.sss.hloster0304;


	// 成员内部类：如果是private 只能是本类使用
		public class StuFamily {
			// 属性
			private String stuMatherName;
			private String stuFatherName;
			private String stuFamilyAddress;

			// 行为
			/**
			 * 获取学生家庭信息行为
			 */
			public String getStuFamilyInfo() {
					return this.toString();
			}

			public StuFamily(String stuMatherName, String stuFatherName, String stuFamilyAddress) {
				super();
				this.stuMatherName = stuMatherName;
				this.stuFatherName = stuFatherName;
				this.stuFamilyAddress = stuFamilyAddress;
			}

			public String getStuMatherName() {
				return stuMatherName;
			}

			public void setStuMatherName(String stuMatherName) {
				this.stuMatherName = stuMatherName;
			}

			public String getStuFatherName() {
				return stuFatherName;
			}

			public void setStuFatherName(String stuFatherName) {
				this.stuFatherName = stuFatherName;
			}

			public String getStuFamilyAddress() {
				return stuFamilyAddress;
			}

			public void setStuFamilyAddress(String stuFamilyAddress) {
				this.stuFamilyAddress = stuFamilyAddress;
			}
			public String toString() {
				return "StuFamily[stuMatherName=  "+stuMatherName+"  ,stuFather="+stuFatherName+
						"   , stuFamilyAddress=  "+stuFamilyAddress+"]";
			
			}

		}

